package com.trkj.dao.jpa;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.BusPeople;

public interface IBusPeopleDao extends CrudRepository<BusPeople, Long> {
	/*//查询联系人详情
	@Query("select new BusPeople(b.bpeoId,b.bpeoEmil,b.bpeoName,b.bpeoPhone) from BusPeople b where b.business.busId=?1")
	public List<BusPeople> findBusPeople(Long busId);*/

}
